import { high } from 'nc-lightapp-front';

const { Refer } = high;

export default function(props = {}) {
	var conf = {
		multiLang: { domainName: 'hrcm', currentLocale: 'zh-CN', moduleId: 'refer6011' },
		refType: 'tree',
		refName: 'cm6011-000001',
		placeholder: 'cm6011-000001',
		refCode: 'hrjf.refer.HRDeptTreeRef',
		queryTreeUrl: '/nccloud/hrjf/ref/HRDeptTreeRef.do',
		rootNode: {refname: 'cm6011-000001', refpk: 'root', isleaf: false},/* 国际化处理： 部门*/
		isMultiSelectedEnabled: true
	};

	return <Refer {...Object.assign(conf, props)} />;
}
